cmake_minimum_required(VERSION 3.10)
project(axisgroup)
aux_source_directory(./ SRCS)
add_library(axisgroup STATIC
axisgroup.cc
axisgroup_robot.cc
axisgroup_set.cc
robot_mgr.cc
ag_config.cc
fsm_booting.cc
fsm_disable.cc
fsm_standby.cc
fsm_errorstop.cc
simple_tp.cc
pfsm_state.cc
pfsm_free.cc
pfsm_servo.cc
pfsm_drag.cc
pfsm_coord.cc
pfsm_servo_filter.cc
force_control.cc
collision_detection.cc
rt_servo_plan.cc
over_plan.cc
stop_planner.cc
safety_event.cc
)

target_link_libraries(axisgroup 
PUBLIC JAKADYN
PUBLIC kine
PUBLIC rob_common
PRIVATE rtdev
PRIVATE axis
PRIVATE dynamic
PRIVATE safety
PRIVATE posemath
PRIVATE zuctp
)

add_subdirectory(test)